package cn.tedu.tmall.front.mall.dao.repository;

import cn.tedu.tmall.front.mall.pojo.po.CategoryPO;

import java.util.List;

public interface ICategoryRepository {

    CategoryPO getCategoryById(Long parentId);

    List<CategoryPO> getAll();

    List<CategoryPO> getTopCategory();

    List<CategoryPO> getChildrenCategory(Long parentId);
}
